

#include "../server.hpp"
#include <string>
#include <iostream>


int main(){
    Socket sock;
    sock.CreateClient(20000, "127.0.0.1");
    for(int i =0; i<5; i++){
        std::string str = "zhangxuefeng";
        sock.Send(str.c_str(), str.size());
        char buf[1024] = {0};
        int ret = sock.Recv(buf, 1024, 0);
        DBG_LOG("%s", buf);
        sleep(1);
    }
    return 0;
}
